package view.generaldesign;

import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

public class Footer 
{
    private JPanel footerPanel;

    public Footer()
    {
        footerPanel = new JPanel();
        footerPanel.setBounds(0, 0, 1100, 75);
        footerPanel.setOpaque(false);
        
        String authors = "<html><div style=\"text-align: center;\">Project Flintstone<br />Developed By: Mathias Bejerholm Poulsen, Junjie Wu, Allan Andersen and Sonny Sandberg 2013<br />"
                + "&copy; Bejerholms Stenhuggeri | All Rights Reserved</div></html>";
        JLabel label = new JLabel(authors);
        label.setBounds(0, 0, 1100, 150);
        label.setForeground(new Color(160, 160, 160));
        label.setAlignmentX(SwingConstants.CENTER);
        
        footerPanel.add(label);
    }
    
    public JPanel getFooterPanel()
    {
        return footerPanel;
    }
}